var verify_effDate = JSON.parse('{"CODE":0, "ACTION":"","LEVEL":"T1", "MSG":"","DATA":"","SCRIPTNAME":"verify_effDate"}');
//成本结束日期必须晚于成本生效日期

if (!isNull(cost_start_date) && compareTimes(getNewDate(new Date(cost_start_date)), getNewDate(new Date())) === -1) {
    verify_effDate.CODE = 2;
    verify_effDate.ACTION = 'risk';
    verify_effDate.MSG = '成本生效日期不得早于提交当天';
}
if (!isNull(retail_start_date) && compareTimes(getNewDate(new Date(retail_start_date)), getNewDate(new Date())) === -1) {
    verify_effDate.CODE = 2;
    verify_effDate.ACTION = 'risk';
    verify_effDate.MSG = '价格生效日期不得早于提交当天';
}


JSON.stringify(verify_effDate);